from flask_wtf import FlaskForm
from wtforms import validators
import wtforms


class LoginForm(FlaskForm):
    username = wtforms.StringField()
    validators.Length(1, 8, '用户名长度在6-8之间')
    password = wtforms.StringField()
